//Portions Copyright (C) 2011 Randall Shattuck
//Portions Copyright (C) 2007-2010 Owners of libeveapi 
//    (http://libeveapi.googlecode.com)
//
//EveDashboard.Api was forked from libeveapi 1.1.3
//
//This program is free software; you can redistribute it and/or modify it under
//the terms of the GNU General Public License as published by the Free Software 
//Foundation; either version 2 of the License, or (at your option) any later 
//version.
//
//This program is distributed in the hope that it will be useful, but WITHOUT 
//ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
//FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
//details. You should have received a copy of the GNU General Public License 
//along with this program; if not, write to the Free Software Foundation, Inc.,
//59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//-----------------------------------------------------------------------------

namespace EveDashboard.Api
{
    /// <summary>
    /// Holds the full list of Conquerable stations and outposts
    /// </summary>
    public class ConquerableStationList : ApiResponse
    {
        /// <summary>
        /// API Version Compatibility
        /// </summary>
        public const string API_VERSION = "2";
        private ConquerableStation[] conquerableStations = new ConquerableStation[0];

        /// <summary>
        /// 
        /// </summary>
        public ConquerableStation[] ConquerableStations
        {
            get { return conquerableStations; }
            set { conquerableStations = value; }
        }

        /// <summary>
        /// Represents one conquerable station / outpost
        /// </summary>
        public class ConquerableStation
        {
            private int stationId;
            private string stationName;
            private int stationTypeId;
            private int solarSystemId;
            private int corporationId;
            private string corporationName;

            /// <summary>
            /// The unique station Id
            /// </summary>
            public int StationId
            {
                get { return stationId; }
                set { stationId = value; }
            }

            /// <summary>
            /// The name of the station (corp gets to name it)
            /// </summary>
            public string StationName
            {
                get { return stationName; }
                set { stationName = value; }
            }

            /// <summary>
            /// The typeId of the station / outpost
            /// </summary>
            public int StationTypeId
            {
                get { return stationTypeId; }
                set { stationTypeId = value; }
            }

            /// <summary>
            /// The solarSystemId that the station / outpost is located in
            /// </summary>
            public int SolarSystemId
            {
                get { return solarSystemId; }
                set { solarSystemId = value; }
            }

            /// <summary>
            /// The id of the corporation that owns teh station / outpost
            /// </summary>
            public int CorporationId
            {
                get { return corporationId; }
                set { corporationId = value; }
            }

            /// <summary>
            /// The name of the corporation that owns the station / outpost
            /// </summary>
            public string CorporationName
            {
                get { return corporationName; }
                set { corporationName = value; }
            }
        }
    }
}
